{extend name="layout:default" /}
{block name="title"}入库{/block}
{block name="content"}
<div class="box box-default">
    <div class="box-header with-border">
        <h3 class="box-title">入库</h3>
    </div>
    <!-- /.box-header -->
    <div class="box-body">
        <form class="form-horizontal" method="post" enctype="multipart/form-data">
            <div class="form-group">
                <label class="col-sm-2 control-label">接单员</label>
                <div class="col-sm-10">
                    <select class="form-control" name="member_id">
                        <option value="0">请选择员工</option>
                        {volist name="members" id="vo"}
                        <option value="{$vo.id}">{$vo.realname}</option>
                        {/volist}
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">开单员</label>
                <div class="col-sm-10">
                    <select class="form-control" name="member1_id">
                        <option value="0">请选择员工</option>
                        {volist name="members" id="vo"}
                        <option value="{$vo.id}">{$vo.realname}</option>
                        {/volist}
                    </select>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label">所属店铺</label>
                <div class="col-sm-10">
                    <select class="form-control" name="shop_id">
                        <option value="0">请选择店铺</option>
                        {volist name="shops" id="vo"}
                        <option value="{$vo.id}">{$vo.shop_name}</option>
                        {/volist}
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">所属类型</label>
                <div class="col-sm-10">
                    <select class="form-control" name="goods_cate_id">
                        <option value="0">请选择设备类型</option>
                        {volist name="goodsCates" id="vo"}
                        <option value="{$vo.id}">{$vo.name}</option>
                        {/volist}
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">设备名称</label>
                <div class="col-sm-10">
                    <select name="goods_id" class="form-control">
                        <option value="">请选择设备名称</option>
                        {volist name="goods" id="vo"}
                        <option value="{$vo.id}">{$vo.goods_name}</option>
                        {/volist}
                    </select>
                </div>
            </div>
            <div class="form-group">
                <label class="col-sm-2 control-label">数量</label>
                <div class="col-sm-10">
                    <input type="text" class="form-control" name="sum" placeholder="Num">
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-offset-2 col-sm-10">
                    <button type="submit" class="btn btn-info pull-right">提交</button>
                </div>
            </div>
        </form>
    </div>
    <!-- /.box-body -->
</div>
{/block}